<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css">
    <link rel="stylesheet" href="../css/layuimini.css">
    <link rel="stylesheet" href="../css/public.css">
    <link rel="stylesheet" href="../lib/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        .grid-demo {
            background-color: #f8f8f8;
            text-align: center;
            height: 45px;
            color: #666;
            font-size: 16px;
            line-height: 45px;
            width: 100%;
        }
        
        .grid-demo:hover {
            background-color: #999;
            color: #fff;
        }
        
        .layui-card-header i {
            margin-right: 5px;
        }
        
        .system_table {
            border: 1px solid #eee;
            width: 100%;
        }
        
        .system_table td.gray_bg {
            background: #f9f9f9;
            width: 15%;
        }
        
        .system_table td {
            height: 40px;
            line-height: 40px;
            font-size: 12px;
            color: #454545;
            border-bottom: 1px solid #eee;
            border-right: 1px solid #eee;
            width: 35%;
            padding-left: 3%;
        }
    </style>
</head>

<body>
    <div class="layuimini-container">
        <div class="layuimini-main">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header"><i style="color: red;" class="fa fa-bullhorn icon icon-tip"></i>系统公告</div>
                        <div class="layui-card-body">
                            <div class="layui-row layui-col-space5">
                                <p class="ssy-title">
                                    尊敬的用户,今天是：<span class="showTime"></span>，上次登录时间：2020年12月20日，您当前登录ip：
                                </p>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="fa fa-warning icon"></i>数据统计</div>
                        <div class="layui-card-body">
                            <div class="layui-row layui-col-space5">
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo ">URL配置</div>
                                </div>
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo">频道模型</div>
                                </div>
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo ">回收站</div>
                                </div>
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo ">模板管理</div>
                                </div>
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo ">水印配置</div>
                                </div>
                                <div class="layui-col-md2 layui-col-xs4">
                                    <div class="grid-demo ">缩略图配置</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="fa fa-cog"></i>程序信息</div>
                        <div class="layui-card-body">
                            <div class="layui-row layui-col-space5">
                                <table cellpadding="0" cellspacing="0" class="system_table">
                                    <tbody>
                                        <tr>
                                            <td class="gray_bg">系统更新：</td>
                                            <td id="td_upgrade_msg">已是最新版</td>
                                            <td class="gray_bg">当前版本：</td>
                                            <td>v1.4.9</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">程序名称：</td>
                                            <td>京合眼科医院</td>
                                            <td class="gray_bg">版权所有：</td>
                                            <td>盗版必究</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">更新日志：</td>
                                            <td><a href="" target="_blank">查看</a></td>
                                            <td class="gray_bg">帮助中心:</td>
                                            <td><a href="" target="_blank">查看</a></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header"><i class="fa fa-database"></i>服务器信息</div>
                        <div class="layui-card-body">
                            <div class="layui-row layui-col-space5">
                                <table cellpadding="0" cellspacing="0" class="system_table">
                                    <tbody>
                                        <tr>
                                            <td class="gray_bg">服务器操作系统：</td>
                                            <td>Linux</td>
                                            <td class="gray_bg">服务器域名/IP：</td>
                                            <td>www.****.com [ 47.111.***.** ]</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">服务器环境：</td>
                                            <td>nginx/1.16.0</td>
                                            <td class="gray_bg">PHP 版本：</td>
                                            <td>5.4.45</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">Mysql 版本：</td>
                                            <td>5.5.62-log</td>
                                            <td class="gray_bg">GD 版本：</td>
                                            <td>bundled (2.1.0 compatible)</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">文件上传限制：</td>
                                            <td>50M</td>
                                            <td class="gray_bg">最大占用内存：</td>
                                            <td>128M</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">POST限制：</td>
                                            <td>50M</td>
                                            <td class="gray_bg">最大执行时间：</td>
                                            <td>300s</td>
                                        </tr>
                                        <tr>
                                            <td class="gray_bg">Zip支持：</td>
                                            <td>YES</td>
                                            <td class="gray_bg">Zlib支持：</td>
                                            <td>YES</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</body>
<script>
    function time() {
        dt = new Date();
        var y = dt.getFullYear();
        var mt = dt.getMonth() + 1;
        var day = dt.getDate();
        var h = dt.getHours(); //获取时
        var m = dt.getMinutes(); //获取分
        var s = dt.getSeconds(); //获取秒
        document.querySelector(".showTime").innerHTML =

            y +
            "年" +
            mt +
            "月" +
            day + "日"
            // "-" +
            // h +
            // "时" +
            // m +
            // "分" +
            // s +
            // "秒";

    }
    time();
</script>

</html>